home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware Gold / Windows Shareware Gold Volume 3 Number 1 (Sherburne Knowledge Systems) (1991).iso / utils / f3106 / makefile < prev    next >
Makefile  |  1990-11-01  |  836b  |  33 lines

  1. ALL: crdprt.exe
  2.  
  3. # these are compile flags
  4. # -c   means compile without linking
  5. # -AM  means compile for medium model
  6. # -Zp1 means pack structure members on specified byte boundary
  7. # -Ox  means maximized optimization
  8. # -W2  means set output level for compiler warning messages
  9. CFLAGS= -c -AM -Zp1 -Ox -W2
  10.  
  11. # these are link flags
  12. # /NOD means ignore default libraries
  13. # /NOE means prevent linker from searching extended dictionary
  14. LFLAGS= /NOD /NOE
  15.  
  16. # mlibce is the medium Microsoft library with math emulation
  17. LIBS= mlibce
  18.  
  19. # file root name
  20. FLRT= crdprt
  21.  
  22. # path to Microsoft C libraries (drive: & directory path)
  23. LIBPATH=c:\c600\lib
  24.  
  25. # compile step
  26. $(FLRT).obj: $(FLRT).c makefile
  27.     cl $(CFLAGS) $(FLRT).c
  28.  
  29. # link step
  30. $(FLRT).exe: $(FLRT).obj
  31.     link $(LFLAGS) $(FLRT) $(LIBPATH)\setargv,,,$(LIBS) 
  32.  
  33.